package com.coded2.mobileposto.service;

import java.util.List;

import javax.inject.Inject;

import com.coded2.infra.comum.ComumService;
import com.coded2.mobileposto.dao.ServicoDAO;
import com.coded2.mobileposto.model.Servico;


public class ServicoService extends ComumService<Servico> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	
	@Inject
	ServicoDAO dao;	
	
	@Override
	public List<Servico> search(Servico obj) throws Exception {			
		return dao.search(obj);	
	}

	@Override
	public Servico searchByID(Servico model) throws Exception {
		return dao.searchById(model);
	}
	
}
